package com.ygq.train.business.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.ygq.train.business.dto.ConfirmOrderMQDto;
import com.ygq.train.business.req.ConfirmOrderDoReq;
import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.ConfirmOrderQueryReq;
import com.ygq.train.business.resp.ConfirmOrderQueryResp;
import java.util.List;


public interface ConfirmOrderService {

     void save(ConfirmOrderDoReq req);
     void doConfirm(ConfirmOrderMQDto dto);
     void delete(Long id);

     PageResp<ConfirmOrderQueryResp> queryList(ConfirmOrderQueryReq req);
     Integer cancel(Long id);
     Integer queryLineCount(Long id);
//     void doConfirmBlock(ConfirmOrderDoReq req, BlockException e);
}